package es.uji.viselab.model;

import es.uji.viselab.math.Vector3;

public enum ModelCatalog {
	SQUARE("Square"){
		@Override
		public Vector3[] getModel() {
			Vector3 p1 = new Vector3(1, 1, 0);
			Vector3 p2 = new Vector3(1, -1, 0);
			Vector3 p3 = new Vector3(-1, -1, 0);
			Vector3 p4 = new Vector3(-1, 1, 0);
			Vector3[] points = { p2, p3, p4, p1 };
			return points;
		}
	};

	private String name;
	
	ModelCatalog(String name){
		this.name=name;
	}
	public abstract Vector3[] getModel();
	
	public String toString(){
		return this.name;
	}
}
